package com.chris.service.impl;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Value;
import com.chris.service.IHelloService;

@Service
public class HelloService implements IHelloService {
    @Value("${dubbo.application.name}")
    private String serviceName;

    public String sayHello(String name) {
        return String.format("[%s]:Hello,%s",serviceName,name);
    }
}
